//
//  HistoryScreenShotModel.m
//  WOFishingBoat
//
//  Created by 郑逸凯 on 2018/12/20.
//  Copyright © 2018年 郑逸凯. All rights reserved.
//

#import "HistoryScreenShotModel.h"

@implementation HistoryScreenShotModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"boatID" : @"id",
             
             };
}

- (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic {
    NSNumber *timestamp = dic[@"time"];
    if (![timestamp isKindOfClass:[NSNumber class]]) return NO;
    _createTime = [NSDate dateWithTimeIntervalSince1970:timestamp.floatValue];
    return YES;
}



@end
